From 60055fe078043c2e07012295906b67fc05860e26 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Tue, 30 Dec 2025 14:40:37 +0100 Subject: [PATCH] unlockDialog: Drop seat state check after grab Grabs are non-failable now, we do not need to check for the backend seat actually having been able to perform the request. Part-of: --- js/ui/unlockDialog.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js index c151222b4..f5f31f5d4 100644 --- a/js/ui/unlockDialog.js +++ b/js/ui/unlockDialog.js @@ -952,11 +952,6 @@ export const UnlockDialog = GObject.registerClass({ const grab = Main.pushModal(Main.uiGroup, {actionMode: Shell.ActionMode.UNLOCK_SCREEN}); - if (grab.get_seat_state() !== Clutter.GrabState.ALL) { - Main.popModal(grab); - return false; - } - this._grab = grab; this._isModal = true; -- 2.39.5